//token存、取、删封装
const TOKENKEY:string = 'token_key'
export function setToken(token:string):void {
    localStorage.setItem(TOKENKEY,token)
}

export function getToken():string|null {
    return localStorage.getItem(TOKENKEY)
}

export function delToken():void {
    localStorage.removeItem(TOKENKEY)
}

